<ul class='tabs'>
  <% tab_menu.each do |item| %>
    <li><%= link_to item.title,
          :controller=>params[:controller],
          :action=>params[:action],
          :id=>item.id
      %>
      </li>
  <% end %>  
</ul>